import { Input , Button } from 'antd';
import { LeftOutlined,DownloadOutlined  } from '@ant-design/icons'
import header from '../../../assets/img/Member/avatar.jpg'
import './index.less'

export default function WriteHeader(){
  return (
    <div className="writeHeader flex-between">
      <div className="leftPart cursor">
        <LeftOutlined />
        <span>文章管理</span>
      </div>
      <div className="grow">
        <Input prefix="￥" suffix="RMB" />
      </div>
      <div className="rightPart flex-center">
        <Button type="ghost" shape="round" icon={<DownloadOutlined />} size={'large'}>保存草稿</Button>
        <Button type="primary" shape="round" icon={<DownloadOutlined />} size={'large'}>发布博客
        </Button>
        <img className="header" src={header} alt="header" width="35px" height="35px" />
      </div>
    </div>
  )
}